<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <title>{$param.wd}{$param.actor}{$param.director}{$param.area}{$param.lang}{$param.year}{$param.class}搜索结果 -
        {$maccms.site_name}</title>
    <meta name="keywords"
        content="{$param.wd}{$param.actor}{$param.director}{$param.area}{$param.lang}{$param.year}{$param.class}搜索结果" />
    <meta name="description"
        content="{$param.wd}{$param.actor}{$param.director}{$param.area}{$param.lang}{$param.year}{$param.class}搜索结果" />
    <?php
                $navi="nav-menu-item-name-white";
                $navspan="nav-menu-item-name";
                ?>
    {include file="public/include"}
</head>

<body class="search page">

    <header id="header" class="wrapper">
        <div class="header-content  ">
            <div class="content">
                <div class="brand">
                    <a href="/" class="logo" title="免费短视频分享大全 - 免费视频"><img src="/template/mxone/mxstatic/picture/logo.png"
                            alt="免费短视频分享大全 - 免费视频"></a>
                </div>
    
                <div class="nav-search">
                    <form action="/index.php/vod/search.html" class="search-dh">
                    </form>
                </div>
    
                <div class="nav">
                    {include file="public/head"}
                </div>
                <div class="pc">
                    <ul class="nav-menu-items">
                        <li class="space-line-bold"></li>
                        <li class="nav-menu-item drop ">
                            <span class="nav-menu-icon">
                                <i class="icon-all"></i>
                            </span>
                            <div class="drop-content sub-block subw500">
                                <div class="drop-content-box grid-box">
                                    <ul class="drop-content-items grid-items">
                                        {maccms:type ids="1,2,3,4" order="asc" by="sort" id="vo1" key="key1"}
                                        <li class="grid-item">
                                            <a href="{:mac_url_type($vo1)}" title="{$vo1.type_name}">
                                                <div class="grid-item-name">{$vo1.type_name}</div>
                                            </a>
                                        </li>
                                        {/maccms:type}
                                    </ul>
                                </div>
                            </div>
                            <div class="shortcuts-mobile-overlay"></div>
                        </li>
                    </ul>
                </div>
                <div class="header-module">
                    <ul class="nav-menu-items">
    
                        <li class="nav-menu-item nav-menu-search"><i class="icon-search"></i></li>
                        <li class="space-line-bold"></li>
                        <li class="nav-menu-item drop"><span class="nav-menu-icon"><i class="icon-watch-history"></i></span>
                            <div class="drop-content drop-history">
                                <div class="drop-content-box">
                                    <ul class="drop-content-items" id="history">
                                        <li class="list-item list-item-title">
                                            <a href="" class="playlist historyclean"><i class="icon-clear"></i></a>
                                            <strong>我的观影记录</strong>
                                        </li>
                                        <li class="list-item"><a
                                                href="http://kan.94yaokan.cn/index.php/vod/play/id/331/sid/2/nid/1.html"
                                                title="白龙马之逆天之龙" class="list-item-link"><i
                                                    class="icon-play"></i><span>HD国语</span>白龙马之逆天之龙</a></li>
                                        <li class="list-item"><a
                                                href="http://kan.94yaokan.cn/index.php/vod/play/id/323/sid/1/nid/1.html"
                                                title="狄仁杰之深海龙宫" class="list-item-link"><i
                                                    class="icon-play"></i><span>HD国语版</span>狄仁杰之深海龙宫</a></li>
                                    </ul>
                                </div>
                            </div>
                            <div class="shortcuts-mobile-overlay"></div>
                        </li>
                        <li class="space-line-bold"></li>
    
                        <li class="nav-menu-item drop wapblock">
                            <span class="mac_user_center" title="会员中心"><i class="iconfont icon-yonghu-fuben"></i></span>
                            <!--a class="mac_user" href="javascript:;" title="会员中心"><i class="iconfont icon-yonghu-fuben"></i></a-->
    
                            <div class="drop-content drop-user">
                                <div class="drop-content-box">
                                    <ul class="drop-content-items" id="drop-user">
                                        <li class="list-item list-item-title">
                                            <div class="text-content">登录后可享受</div>
                                        </li>
                                        <li class="list-item text-alink"><i style="color:#03c8d4"
                                                class="icon-play"></i><span>尊享极清观影体验</span></li>
                                        <li class="list-item text-alink"><i style="color:#03c8d4"
                                                class="icon-play"></i><span>同步多端播放记录</span></li>
                                        <li class="list-item text-alink"><i style="color:#03c8d4"
                                                class="icon-play"></i><span>热播精彩及时追</span></li>
                                        <li class="list-item button-area"><button class="mac_user"
                                                href="javascript:;">立即登录</button></li>
                                    </ul>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </header>
    <script>
        $(".nav-menu-search").click(function () {
            $(".nav-search").addClass("block");
        });

        $(document).scroll(function () {
            var H = $(document).scrollTop();
            if (H > 20) {
                $(".header-content").addClass("header-bg");
            } else {
                $(".header-content").removeClass("header-bg");
            }
            if (H > 80) {
                $(".header-content").addClass("header-bg");
                $(".search-dh").append($(".search-box"));
                $(".nav-menu-search").click(function () {
                    $(".nav-search").addClass("block");
                });
            } else {
                $(".header-content").removeClass("header-bg");

                $(".search-main").append($(".search-box"));

            }
        });
    </script>
    <!-- 头部 -->

    <main id="main" class="wrapper">
        <div class="content">
            <div id="search-content">
                <form action="/index.php/vod/search.html">
                    <div class="search-main">
                        <div class="search-box">
                            <input class="search-input ac_wd" id="txtKeywords" type="text" name="wd" autocomplete="off" placeholder="搜索电影、电视剧、综艺、动漫">
                            <div class="search-drop">
                                <div class="drop-content-items ac_hot none">
                                    <div class="list-item list-item-title"><strong>大家都在搜这些影片</strong></div>
                                    <div class="search-tag">
                                    {maccms:foreach name=":explode(',',$maccms.search_hot)" id="vo2" key="key2"}
                                    <a href="{:mac_url('vod/search',['wd'=>$vo2])}" class="hot "><i class="icon-hot"></i>{$vo2}</a>
                                    {/maccms:foreach}
                                    </div>
                                </div>
                            </div>
                            <button class="search-btn search-go" type="submit"><i class="icon-search"></i></button>
                            <button class="cancel-btn" type="button">取消</button>
                        </div>
                    </div>
                </form>
                <div class="search-stat">
                    <h1>{$param.wd}{$param.actor}{$param.director}{$param.area}{$param.lang}{$param.year}{$param.class}</h1>
                    <h2>搜索"{$param.wd}{$param.actor}{$param.director}{$param.area}{$param.lang}{$param.year}{$param.class}" ，找到 <strong class="mac_total"></strong>部影视作品</h2>
                </div>
            </div>
            <div class="module-blocklist module-player-list"
                style="padding: 35px;border-radius: 10px;margin-bottom: 20px;">
                <h3 style="text-align: center;">广告位05</h3>
            </div> <!-- 全局广告位 -->
            <div class="module">
                <div class="module-list">
                    <div class="module-items">
                        {maccms:vod num="16" paging="yes" pageurl="vod/search" order="desc" by="time"}
                        <div class="module-search-item">
                            <div class="video-cover">
                                <div class="module-item-cover">
                                    <div class="module-item-pic"><a href="{:mac_url_vod_play($vo,'first')}" title="立刻播放{$vo.vod_name}"><i
                                                class="icon-play"></i></a><img class="lazy lazyload"
                                            data-src="{:mac_url_img($vo.vod_pic)}"
                                            src="{:mac_url_img($vo.vod_pic)}"
                                            alt="{$vo.vod_name}">
                                        <div class="loading"></div>
                                    </div>
                                </div>
                            </div>
                            <div class="video-info">
                                <div class="video-info-header"><a class="video-serial" href="{:mac_url_vod_detail($vo)}"
                                        title="{$vo.vod_name}">{$vo.vod_remarks}</a>
                                    <h3><a href="{:mac_url_vod_detail($vo)}" title="{$vo.vod_name}">{$vo.vod_name}</a></h3>
                                    <div class="video-info-aux">
                                        <a href="{:mac_url_type($vo)}" title="{$vo.type.type_name}" class="tag-link"><span class="video-tag-icon">
                                                <i class="icon-cate-dy"></i>
                                                {$vo.type.type_name}</span></a>
                                        <div class="tag-link">{:mac_url_create($vo['vod_year'],'year','vod','search')}&nbsp;
                                        </div>
                                        <div class="tag-link">{$vo.vod_area|mac_url_create='area'}&nbsp;</div>
                                    </div>
                                </div>
                                <div class="video-info-main">
                                    <div class="video-info-items"><span class="video-info-itemtitle">导演：</span>
                                        <div class="video-info-item video-info-actor"><span class="slash">/</span>
                                            <?php
                                echo mac_url_create($vo['vod_director'],'director','vod','search','<span
                                    class="slash">/</span>');
                                ?>
                                        </div>
                                    </div>
                                    <div class="video-info-items"><span class="video-info-itemtitle">主演：</span>
                                        <div class="video-info-item video-info-actor"><span class="slash">/</span>
                                            <?php
                                echo mac_url_create($vo['vod_actor'],'actor','vod','search','<span
                                    class="slash">/</span>');
                                ?>
                                        </div>
                                    </div>
                                    <div class="video-info-items"><span class="video-info-itemtitle">剧情：</span>
                                        <div class="video-info-item">{$vo.vod_blurb}…
                                        </div>
                                    </div>
                                </div>
                                <div class="video-info-footer">
                                    <a href="{:mac_url_vod_play($vo,['sid'=>$vo.sid,'nid'=>$vo2.nid])}" class="btn-important btn-base" title="立刻播放{$vo.vod_name}"><i
                                            class="icon-play"></i><strong>立即播放</strong></a>
                                    <!-- <a href="{:mac_url_vod_detail($vo)}" class="btn-aux btn-aux-o btn-base" title="下载{$vo.vod_name}"><i
                                            class="icon-download"></i><strong>下载</strong></a> -->
                                </div>
                            </div>
                        </div>
                        {/maccms:vod}
                    </div>
                    <div class="module-footer">
                    {include file="public/paging"}
                    </div>
                    <!-- 分页 -->

                </div>
            </div>
        </div>
    </main>

    {include file="public/foot"}
    <script>
        var total_nr = '{$__PAGING__.record_total}'
        if (total_nr =='0'){
            $.post("/vod/notify",{
                "wd":"{$param.wd}"
            },function(data){
                console.log(data)
            },'json');
        }
        $(".mac_total").text('{$__PAGING__.record_total}');
    </script>
    <!-- 底部-->
</body>

</html>